{% extends "index.html" %}

{% block ip_content %}
<link rel="stylesheet" type="text/css" href="media/css/form.css">

{% if not pref_id %}
<form action="/iptables/rule/{{rule_id}}/add/prefix/" method="post">
{% endif %}
{% if pref_id %}
<form action="/iptables/rule/{{rule_id}}/edit/prefix/{{pref_id}}/" method="post">
{% endif %}

	<div id="container">
	<div id="kutubaslik"><strong>Günlük Düzenleme Formu</strong></div>	
		<br/>
		<br/>
		<br/>

	<div align="center">
	{{form.log_adi.label}}:{{form.log_adi}}
				
	<br/>
	<br/>
	<br/>
<div align="center"><input type="submit" value="Kaydet"/></div>
		</div>	


</form>

	{% if hatalar%}
		<div id="hata">{{hatalar}}</div>
	{% endif %}

{% if form.errors %}
<div id="hata">
	
	{{form.errors}}

</div>
{% endif %}
</div>

{% endblock %}